<template>
  <div class="dashboard-container">
    <el-row class="mytitle">
      <el-card>早安</el-card>
    </el-row>
    <el-row :gutter="20">
      <el-col :span="12"> 
        <el-card>
          <workCal></workCal>
        </el-card>
        </el-col>
      <el-col :span="12">
        <el-card>流程申请</el-card>
        </el-col>
    </el-row>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
// import {getUserInfo} from '@/api/user'

export default {
  name: 'Dashboard',
  created () {
    // getUserInfo()
  },
  computed: {
    ...mapGetters(['name'])
  },
  components:{
    workCal:()=>import('./components/work-calendar.vue')
  }
}
</script>

<style lang="scss" >
.dashboard-container{
  padding: 20px;
  .mytitle{
    margin-bottom: 20px;
  }
}
</style>
